package com.lottery.ruok.lottrey.retrofitModule.response;

import java.util.List;

/**
 * Created by ASUS on 2017/11/2.
 */

public class GrabGiftHistoryResponse {

    /**
     * amount : 10.00
     * type : 2
     * status : 1
     * from : test1
     * to : test1
     * from_avatar : https://api.ruok.co/upload/2017-10/6_20171022090555.png
     * to_avatar : https://api.ruok.co/upload/2017-10/6_20171022090555.png
     * total : 10
     * remain : 9
     * total_amount : 100.00
     * list : [{"id":"11813","user_id":"test1","amount":"10.00","updated_at":"2017-11-02 14:05:23","avatar":"https://api.ruok.co/upload/2017-10/6_20171022090555.png"}]
     */

    private String amount;
    private String type;
    private String status;
    private String from;
    private String to;
    private String from_avatar;
    private String to_avatar;
    private String total;
    private String remain;
    private String total_amount;
    private String  from_nickname;
    private String  to_nickname;
    private List<ListBean> list;

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getFrom_avatar() {
        return from_avatar;
    }

    public void setFrom_avatar(String from_avatar) {
        this.from_avatar = from_avatar;
    }

    public String getTo_avatar() {
        return to_avatar;
    }

    public void setTo_avatar(String to_avatar) {
        this.to_avatar = to_avatar;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getRemain() {
        return remain;
    }

    public void setRemain(String remain) {
        this.remain = remain;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public String getFrom_nickname() {
        return from_nickname;
    }

    public void setFrom_nickname(String from_nickname) {
        this.from_nickname = from_nickname;
    }

    public String getTo_nickname() {
        return to_nickname;
    }

    public void setTo_nickname(String to_nickname) {
        this.to_nickname = to_nickname;
    }

    public static class ListBean {
        /**
         * id : 11813
         * user_id : test1
         * amount : 10.00
         * updated_at : 2017-11-02 14:05:23
         * avatar : https://api.ruok.co/upload/2017-10/6_20171022090555.png
         */

        private String id;
        private String user_id;
        private String amount;
        private String updated_at;
        private String avatar;
        private String  nickname;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }
    }
}
